package com.example.demo.common;

/**
 * @ClassName MessageBody
 * @Description
 * @date 2023/3/23 17:16
 * @Author yanceysong
 * @Version 1.0
 */
public class MessageBody {
    public long id;
    public String topic;

    // 符合 yyyy-MM-dd HH:mm:SS 形式
    public String priority;

    // 暂时默认都是"ACTION"
    //   1. ACTION = 调用ACTION
    public String type;
    public Object data_obj;

    public MessageBody(long id, String topic, String priority, String type, Object data_obj) {
        this.id = id;
        this.topic = topic;
        this.priority = priority;
        this.type = type;
        this.data_obj = data_obj;
    }
}
